<?php
class ErrorController extends Controller {
	/**
	 *
	 * @var Error
	 */
	var $error;
	
	public function __construct(){
		parent::__construct(null, null, false);
	}
	
	/**
	 * 显示错误
	 *
	 */
	public function show_action(){
		$this->_renderSingle($this->genRootViewPath($this->view?$this->view:'error'));
	}
}